import 'package:flutter/cupertino.dart';
import 'package:wy/demo/demo2.dart';
import 'package:wy/demo/io.dart';
import 'package:wy/pages/account/login/login.dart';
import 'package:wy/pages/comment/comment.dart';
import 'package:wy/pages/home/home.dart';
import 'package:wy/pages/player/player.dart';
import 'package:wy/pages/splash/splash.dart';
import 'package:wy/pages/square/square.dart';
import 'package:wy/pages/user_center/user_center.dart';

final routes = {
  "/": (BuildContext context) => SplashPage(),
  "/home": (BuildContext context) => HomePage(),
  "/square": (BuildContext context) => HSquarePage(),
  "/player": (BuildContext context) => HPlayer(),
  "/login": (BuildContext context) => LoginPage(),
  "/user-center": (BuildContext context) => HUserCenter(),
  "/commen": (BuildContext context) => HComment(),
  // 测试
  // "/demo1": (BuildContext context) => Demo1(),
  "/demo2": (BuildContext context) => Demo2(),
};
